[16.0][ADD] digital_signature_kmitl: per-user digital signature with …#706
Open
madara1150 wants to merge 4 commits into
Open
[16.0][ADD] digital_signature_kmitl: per-user digital signature with …#706madara1150 wants to merge 4 commits into
madara1150 wants to merge 4 commits into
Conversation
…work acceptance integration - digital_signature_kmitl: base module providing signature_image field on res.users with signature widget in user form and preferences - purchase_work_acceptance_signature_kmitl: snapshot signatures into work acceptance documents at approval time (tier validation + wizard flows) - responsible_signature: captured from procurement officer on button_accept - committee.signature_image: auto-captured from employee.user_id when status='accept' - PDF rendering via image_data_uri() with fallback to dotted lines - Immutable snapshot model ensures audit trail + unaffected by profile changes - Supports both paperless (tier validation) and paper (wizard) approval paths - Foundation for future rollout to other approval documents (PR, disbursement, budget)
…o-changes to readme files
…onsible_id, simplify committee write, add logging - Add guard check for empty responsible_id in button_accept to prevent AttributeError - Refactor committee write(): capture signature after super().write() instead of pre-collecting IDs before — simpler and avoids stale-state edge cases - Add _logger.warning() when signature capture fails silently (no user mapping, no signature_image set)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…work acceptance integration